package com.abacuslcy.ws001.client;

import java.util.Date;

public class RunClient {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		// 初始化服务框架类
		DateService_Service service = new DateService_Service();
		// 或者本地服务借口的实例
		DateService server = (DateService) service.getDateServicePort();
		long d = new Date().getTime();
		System.out.println(d);
		DateType s = server.getDateType(d);
		System.out.println(s.getTime());
		System.out.println(s.getDate());
	}
}